package com.example.signsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.signsystem.entity.vo.AttendanceCount;
import com.example.signsystem.entity.po.SignListPO;

import java.text.ParseException;
import java.util.List;

public interface ISignListService extends IService<SignListPO> {


    /**
     * 签到
     *
     * @param phone 手机号
     * @return {@link Boolean}
     */
    Boolean signIn(Long phone) throws ParseException;


    /**
     * 查看今天未签到的学生
     *
     * @return {@link List}<{@link SignListPO}>
     */
    AttendanceCount todayStudents();
}